﻿namespace Hosting.FlickrObjects
{
    public class Photo
    {
        public string ID { get; set; }
        public string Title { get; set; }
        public string Secret { get; set; }
        public string Server { get; set; }
        public string Farm { get; set; }

        public string ToUrl()
        {
            return string.Format("http://farm{0}.static.flickr.com/{1}/{2}_{3}.jpg", Farm, Server, ID, Secret);
        }
    }
}
